using Newtonsoft.Json;
/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "预算项目明细",TableName = "Fk_ysxm")]
    public class Fk_ysxm:BaseEntity
    {
        /// <summary>
       ///
       /// </summary>
       [Key]
       [Display(Name ="ysxm_id")]
       [JsonIgnore]
       [Column(TypeName="int")]
       [Required(AllowEmptyStrings=false)]
       public int ysxm_id { get; set; }

       /// <summary>
       ///预算编号
       /// </summary>
       [Display(Name ="预算编号")]
       [Column(TypeName="int")]
       [Required(AllowEmptyStrings=false)]
       public int ys_id { get; set; }

       /// <summary>
       ///项目名称
       /// </summary>
       [Display(Name ="项目名称")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       public string xm_name { get; set; }

       /// <summary>
       ///1月
       /// </summary>
       [Display(Name ="1月")]
       [Column(TypeName="numeric")]
       [Editable(true)]
       public decimal? tsl01 { get; set; }

       /// <summary>
       ///2月
       /// </summary>
       [Display(Name ="2月")]
       [Column(TypeName="numeric")]
       [Editable(true)]
       public decimal? tsl02 { get; set; }

       /// <summary>
       ///3月
       /// </summary>
       [Display(Name ="3月")]
       [Column(TypeName="numeric")]
       [Editable(true)]
       public decimal? tsl03 { get; set; }

       /// <summary>
       ///4月
       /// </summary>
       [Display(Name ="4月")]
       [Column(TypeName="numeric")]
       [Editable(true)]
       public decimal? tsl04 { get; set; }

       /// <summary>
       ///5月
       /// </summary>
       [Display(Name ="5月")]
       [Column(TypeName="numeric")]
       [Editable(true)]
       public decimal? tsl05 { get; set; }

       /// <summary>
       ///6月
       /// </summary>
       [Display(Name ="6月")]
       [Column(TypeName="numeric")]
       [Editable(true)]
       public decimal? tsl06 { get; set; }

       /// <summary>
       ///7月
       /// </summary>
       [Display(Name ="7月")]
       [Column(TypeName="numeric")]
       [Editable(true)]
       public decimal? tsl07 { get; set; }

       /// <summary>
       ///8月
       /// </summary>
       [Display(Name ="8月")]
       [Column(TypeName="numeric")]
       [Editable(true)]
       public decimal? tsl08 { get; set; }

       /// <summary>
       ///9月
       /// </summary>
       [Display(Name ="9月")]
       [Column(TypeName="numeric")]
       [Editable(true)]
       public decimal? tsl09 { get; set; }

       /// <summary>
       ///10月
       /// </summary>
       [Display(Name ="10月")]
       [Column(TypeName="numeric")]
       [Editable(true)]
       public decimal? tsl10 { get; set; }

       /// <summary>
       ///11月
       /// </summary>
       [Display(Name ="11月")]
       [Column(TypeName="numeric")]
       [Editable(true)]
       public decimal? tsl11 { get; set; }

       /// <summary>
       ///12月
       /// </summary>
       [Display(Name ="12月")]
       [Column(TypeName="numeric")]
       [Editable(true)]
       public decimal? tsl12 { get; set; }

       
    }
}
